﻿using MvcApplication2.Models.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcApplication2.Models.Services
{
    public class DaiLyService
    {
        public static List<DaiLy> GetListDaiLy()
        {
            MyDataProvider.Open();
            var daiLyList = Utility.ToList<DaiLy>(MyDataProvider.excuteQuery("spu_daily_getAll"));
            MyDataProvider.Close();
            return daiLyList;
        }
    }
}